<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
  <meta http-equiv="Content-Type" content=
  "text/html; charset=UTF-8">

  <title>PARTITION</title>
  <link rel="stylesheet" type="text/css" href="QoS.css">
  <link rel="stylesheet" type="text/css" href="../../styles.css">
</head>

<body>

<H4 CLASS="Head3">
<A NAME="pgfId-181244"></A><A NAME="84785"></A>PARTITION</H4>
<UL>
<LI CLASS="BodyNoLead">
<A NAME="pgfId-187142"></A>The <A NAME="marker-199466"></A>PARTITION QoS policy allows the creation of logical partitions within a <A NAME="marker-267730"></A>domain. It only allows <A NAME="marker-267739"></A>data readers and <A NAME="marker-267744"></A>data writers to be associated if they have matched partition strings. This policy applies to the <A NAME="marker-267749"></A>publisher and <A NAME="marker-267754"></A>subscriber entities via the <EM CLASS="Code">
partition</EM>
 member of their respective QoS structures. Below is the IDL related to the partition QoS policy.</LI>
<LI CLASS="Body">
<A NAME="pgfId-187201"></A><EM CLASS="Code">
</EM>
&nbsp;</LI>
<LI CLASS="Body">
<A NAME="pgfId-187229"></A><EM CLASS="Code">
struct PartitionQosPolicy {</EM>
</LI>
<LI CLASS="Body">
<A NAME="pgfId-187202"></A><EM CLASS="Code">
  StringSeq name;</EM>
</LI>
<LI CLASS="Body">
<A NAME="pgfId-187392"></A><EM CLASS="Code">
};</EM>
</LI>
<LI CLASS="Body">
<A NAME="pgfId-187393"></A><EM CLASS="Code">
</EM>
&nbsp;</LI>
<LI CLASS="Body">
<A NAME="pgfId-187394"></A>The <EM CLASS="Code">
name</EM>
 member defaults to an empty sequence of strings. The default partition name is an empty string and causes the entity to participate in the default partition. The partition names may contain wildcard characters as defined by the POSIX <EM CLASS="Code">
fnmatch</EM>
 function (POSIX 1003.2-1992 section B.6).</LI>
<LI CLASS="Body">
<A NAME="pgfId-236418"></A>The establishment of <A NAME="marker-267763"></A>data reader and <A NAME="marker-267768"></A>data writer associations depends on matching partition strings on the publication and subscription ends. Failure to match partitions is not considered a failure and does not trigger any callbacks or set any status values.</LI>
<LI CLASS="Body">
<A NAME="pgfId-187617"></A>The value of this policy may be changed at any time. Changes to this policy may cause associations to be removed or added.</LI>
</UL>

</body>
</html>
